package org.zfes.snowier.cloud.zbss.loan.base.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.loan.base.model.BaseDatadictionary;
import org.zfes.snowier.core.data.Record;

public interface IBaseDatadictionaryService{

	 Optional<BaseDatadictionary> loadBaseDatadictionaryById(Long id);
	
	 void createBaseDatadictionary(BaseDatadictionary baseDatadictionary);
	
	 void updateBaseDatadictionary(BaseDatadictionary baseDatadictionary);

	 void deleteBaseDatadictionary(Long id);
	
	 DataSet loadBaseDatadictionaryDataSet(Map<String, Object> params);
	 

 	void setBaseDatadictionaryStatus(Long id, Byte status);

	List<Record> loadBaseDatadictionaryForCode(String code);
}